let g:mta_filetypes = {
      \ 'html' : 1,
      \ 'xhtml' : 1,
      \ 'xml' : 1,
      \ 'vue' : 1,
      \}

" ctrlsf {{{
nnoremap <leader>sf <ESC>:CtrlSF<space>
nnoremap <leader>st <ESC>:CtrlSFToggle<CR>
" }}}

" vim-after-object: {{{
autocmd VimEnter * call after_object#enable('=', ':', '-', '#', ' ')
" }}}
"
" vim-better-whitespace: {{{
let g:better_whitespace_ctermcolor = 'yellow'
let g:better_whitespace_guicolor = 'orange'

let g:better_whitespace_enabled = 1
let g:strip_whitespace_on_save = 0
" }}}

" vim-exchange: {{{
let g:exchange_no_mappings = 1
nmap cxx <Plug>(ExchangeLine)
nmap cxc <Plug>(ExchangeClear)
nmap cx <Plug>(Exchange)
xmap X <Plug>(Exchange)
" }}}

" vim-interestingwords: {{{
let g:interestingWordsDefaultMappings = 0
nnoremap <silent> <leader>kk :call InterestingWords('n')<CR>
vnoremap <silent> <leader>kk :call InterestingWords('v')<CR>
nnoremap <silent> <leader>kK :call UncolorAllWords('v')<CR>
let g:interestingWordsTermColors = ['154', '121', '211', '137', '214', '222', '33', '66', '99', '170']
let g:interestingWordsGUIColors = ['#8CCBEA', '#A4E57E', '#FFDB72', '#FF7272', '#FFB3FF', '#ff6600', '#333399','#ee9933','#aa6622','#ffffff']
" }}}

" vim-speeddating: {{{
nmap <C-a> <Plug>SpeedDatingUp
nmap <C-x> <Plug>SpeedDatingDown
" }}}

" vim-stay: {{{
set viewoptions=cursor,folds,slash,unix
" }}}

" easymotion: {{{
let g:EasyMotion_do_mapping=0
nmap <Leader>jj <Plug>(easymotion-overwin-f)
nmap <M-;> <Plug>(easymotion-overwin-f)
imap <M-;> <C-o><Plug>(easymotion-overwin-f)
" }}}

" matchup: {{{
let g:matchup_surround_enabled = 1
" }}}

" playground: {{{
let g:playground_settings = {
	\ 'nocmd': 0,
	\ 'templates_directory': expand('~/.config/obvim/templates'),
	\ 'languages': {
		\ 'go':{
			\ 'commands':['call playground#job_start("go", "mod", "init", "playground")', ':edit main.go'],
			\ 'templates': {
				\ 'main.go': ["package main","","import (","\t\"fmt\"",")","","func main() {","\tfmt.Println(\"hello world\")", "}"]
			\ }
		\ }
	\ }
\ }
" }}}

" scratch.vim: {{{
let g:scratch_autohide = 0
" }}}
